package com.windoent.yugioh.adapter.brvah;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.windoent.yugioh.R;
import com.windoent.yugioh.bean.OnGoingDuiZhenBean;
import com.windoent.yugioh.bean.RuiShiLunListData;
import com.windoent.yugioh.utils.BaseMethod;

/**
 * author : robert
 * date   : 2021/5/6 15:26
 * desc   :
 */
public class RuiShiLunFilterAuthAdapter extends BaseQuickAdapter<RuiShiLunListData.DataBean.FilterBean, BaseViewHolder> {

    public RuiShiLunFilterAuthAdapter() {
        super(R.layout.item_me_auth, null);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, RuiShiLunListData.DataBean.FilterBean item) {
        helper.setText(R.id.tv_name, BaseMethod.notNullDefaultValueNull(item.getTitle()));
    }
}